home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0"?>
- <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
- <?xml-stylesheet href="chrome://clicknlearn/skin/options.css" type="text/css"?>
-
- <!--
- ~ Copyright (c) 2009 Bui Viet Thanh (thanhbv@gmail.com).
- ~
- ~ This file is part of clicknlearn.
- ~
- ~ clicknlearn is free software: you can redistribute it and/or modify
- ~ it under the terms of the GNU General Public License as published by
- ~ the Free Software Foundation, either version 3 of the License, or
- ~ (at your option) any later version.
- ~
- ~ clicknlearn is distributed in the hope that it will be useful,
- ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
- ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- ~ GNU General Public License for more details.
- ~
- ~ You should have received a copy of the GNU General Public License
- ~ along with clicknlearn. If not, see <http://www.gnu.org/licenses/>.
- -->
-
- <prefwindow title="ClickNLearn Options"
- xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
- buttons=",">
- <script type="application/x-javascript" src="chrome://global/content/nsUserSettings.js" />
- <script type="application/x-javascript" src="chrome://clicknlearn/content/options.js"/>
-
- <prefpane label="Dictionaries Settings">
- <grid>
- <columns>
- <column />
- <column />
- <column />
- <column />
- <column />
- </columns>
- <rows id="dics-rows">
- <row id="options-titlerow">
- <label value="Enable"/>
- <label value="Dictinary" />
- <label value="BaseUrl" />
- <label value="Not found pattern" />
- <label value="DOM selectors" />
- </row>
- <!-- we will add rows dynamicly here -->
- </rows>
- </grid>
- </prefpane>
-
- <button label="Add Dictionary" oncommand="CNL_Options.addDictionary();"/>
- <button label="Remove" oncommand="CNL_Options.removeDictionary();"/>
- <button id="buttonMoveUp" label="Move Up" oncommand="CNL_Options.moveUpDictionary();"/>
- <separator orient="vertical" class="groove"/>
- <button label="OK" oncommand="if(CNL_Options.validate()){CNL_Options.acceptDialog();acceptDialog();}"/>
- <button label="Help" oncommand="CNL_Options.help();" />
- </prefwindow>
-